package org.example;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.example.aanotation.Length;
import org.example.aanotation.Max;
import org.example.aanotation.Min;

@AllArgsConstructor
@Data
public class User {


    @Length(1)
    private String name;

    @Max(1)
    @Min(10)
    private Integer age;

}
